package com.lzx.iteam.bean;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * **********************************
 * User: zhangshuai
 * Date: 2017年 01月 10日
 * Time: 下午3:46
 *
 * @QQ : 1234567890
 * **********************************
 */
public class SalaryFieldBean implements Serializable {

    private int order;
    private String name;
    private String money;


    public SalaryFieldBean(String name) {
        this.name = name;
    }

    public SalaryFieldBean(int order, String name) {
        this.order = order;
        this.name = name;
    }

    public SalaryFieldBean(String name, String money) {
        this.name = name;
        this.money = money;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMoney() {
        return money == null? "0":money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "SalaryFieldBean{" +
              "order=" + order +
              ", name='" + name + '\'' +
              ", money='" + money + '\'' +
              '}';
    }
}
